using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace ITS.Core.Domain.PageContents
{
    public class PageContentCategory
    {
        [Key]
        public int CategoryID { get; set; }
        public string Name { get; set; }
        public bool Active { get; set; }

        public virtual ICollection<PageContent> PageContents { get; set; }

        public override string ToString()
        {
            return this.Name;
        }
    }
}
